﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.EODResultsReportViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> &middot; Programmes management &middot; EOD Activity
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>EOD activity report</h1>
    <ul id="eod_activity" class="elements-list primera">
        <li class="first">
            <div class="cell150 flota">Target area</div>
        </li>

        <% foreach (var row in Model.Rows) { %>
        <li>
            <div class="cell150 flota"><%=row.TargetArea.TargetAreaCode%> - <%=row.TargetArea.Country.CountryName%></div>
        </li>
        <% } %>
</ul>

      






<div class="overflower">
    <ul id="eod_activity_valores" <%= "style='width:" + Model.MaxSeminars * 150 + "px;'" %> >

    <li class="limpia">
        <% for (int i=1; i<=Model.MaxSeminars; i++) { %>
        <div class="num_eod cell110 flota centrar">EOD <%=i %><br /><span>test</span> <span>assessment</span> <span>follow up</span> </div>
        <% } %>
    </li>

    <% foreach (var row in Model.Rows) { %>
    <li class="limpia">

            <% foreach (var cell in row.SeminarResults) { %>
                <div class="cell110 flota result">
                <% if (cell.Test) { %><span class="ok"></span><% } else { %><span></span><% } %>
                <% if (cell.Assessment) { %><span class="ok"></span><% } else { %><span></span><% } %>
                <% if (cell.FollowUp) { %><span class="ok"></span><% } else { %><span></span><% } %>
            </div>
            <% } %>
        </li>

    <% } %>

    </ul>
</div>

    <p class="enlaces">
     <%= Html.ActionLink("Test report", "TestResults", new { id=Model.Program.ProgramID }) %>
     <%= Html.ActionLink("Assessment report", "Assessments", new { id=Model.Program.ProgramID }) %>
     <%= Html.ActionLink("Follow-up report", "FollowUps", new { id=Model.Program.ProgramID }) %>
    </p>
    
    <div class="navigation">
    <p class="enlaces">
     <%= Html.ActionLink("Back to programme", "Details", new { id = Model.Program.ProgramID})%>
    </p></div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="BreadcrumbContent" runat="server">
    <%= Html.ActionLink("Programmes management", "Index") %> &gt; EOD activity
</asp:Content>

